package com.maiji.cloud.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.maiji.cloud.request.shopingmall.OrderRefundReqData;
import com.maiji.cloud.response.shopingmall.ShoppingOrderRefundResData;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.maiji.cloud.entities.shopingmall.ShoppingOrderRefundEntity;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

@Mapper
public interface ShoppingOrderRefundMapper extends BaseMapper<ShoppingOrderRefundEntity>{

    List<Map<Integer, Integer>> findAllOrderRefundsTypeCount();

    List<ShoppingOrderRefundResData> findAllOrderRefunds(@Param("data") OrderRefundReqData data, Page page);

}
